package com.ruoyi.check.domain;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自动生成对象 sys_automatic
 *
 * @author hugh.sun
 * @date 2023-03-03
 */
public class SysAutomatic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录条数 */
    private Long id;

    /** 设备名称 */
    private String quipment;

    /** 表名 */
    @Excel(name = "点检表名")
    private String checkTable;

    /** 单选框 */
    @Excel(name = "单选题")
    private String singleOption;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getQuipment() {
        return quipment;
    }

    public void setQuipment(String quipment) {
        this.quipment = quipment;
    }

    public String getCheckTable() {
        return checkTable;
    }

    public void setCheckTable(String checkTable) {
        this.checkTable = checkTable;
    }

    public String getSingleOption() {
        return singleOption;
    }

    public void setSingleOption(String singleOption) {
        this.singleOption = singleOption;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /** 评分 */
    @Excel(name = "评分题")
    private String score;

    public SysAutomatic(Long id, String quipment, String checkTable, String singleOption, String score, String remark) {
        this.id = id;
        this.quipment = quipment;
        this.checkTable = checkTable;
        this.singleOption = singleOption;
        this.score = score;
        this.remark = remark;
    }
    public SysAutomatic(){

    }


    @Excel(name = "简述题")
    private String remark;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("quipment", getQuipment())
                .append("checkTable", getCheckTable())
                .append("singleOption", getSingleOption())
                .append("score", getScore())
                .append("remark", getRemark())
                .toString();
    }
}
